#ifndef INPUT_H
#define INPUT_H

#include <SDL.h>

#include <map>
using namespace std;

#include "InputAction.h"
#include "WorldModel.h"

//!Interface of input class.
class CInput
{
protected:
	//!Map between SDL key and action
	map<int, int> actionMap;

public:
	//!Constructor
	CInput(void);

	//!Destructor.
	virtual ~CInput(void);

	//!Initialise the action mapping. 
	virtual bool initialiseActionMapping(void)=0;

	//!Update the inputs.
	virtual void doUpdate(void)=0;

};

#endif


